package com.dwm716.shorturl.service;

import com.dwm716.shorturl.domain.RequestRecord;
import com.dwm716.shorturl.pagehelper.PageQuery;
import com.dwm716.shorturl.pagehelper.PageResult;
import com.dwm716.shorturl.common.ApiResponse;

/**
 * @author biliyu
 * @date 2024/8/1 14:02
 */
public interface RequestRecordService {

    int insert(RequestRecord requestRecord);

    ApiResponse<PageResult<RequestRecord>> getRequestRecordList(PageQuery query);

    Integer countByUrlId(Integer id);
}
